package org.csu.chatserver.entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

@Data
public class User {
    @TableId(type = IdType.AUTO) // 关键配置
    String id;
    String username;
    @JsonIgnore // 忽略password属性
    String password;
}
